package com.suyang.syt.model.dto;

import com.suyang.syt.model.Group;

@SuppressWarnings("serial")
public class GroupDTO extends Group {

	/** 课时 */
	private int classHour;

	/** 成员数量 */
	private long membersNum;

	/** 教师Id */
	private long teacherId;

	/** 教师名 */
	private String teacherName;

	/** 课程名称 */
	private String courseName;

	/** 课程id */
	private long cid;

	public GroupDTO() {

	}

	public GroupDTO(Group group) {
		this.setId(group.getId());
		this.setCreateName(group.getCreateName());
		this.setCreateTime(group.getCreateTime());
		this.setDescribes(group.getDescribes());
		this.setJianpin(group.getJianpin());
		this.setQuanpin(group.getQuanpin());
		this.setModifyName(group.getModifyName());
		this.setModifyTime(group.getModifyTime());
		this.setName(group.getName());
		this.setOrderIndex(group.getOrderIndex());
		this.setTtcid(group.getTtcid());
		this.setEnabled(group.getEnabled());
		this.setLogo(group.getLogo());
		this.setStatus(group.getStatus());
	}

	public int getClassHour() {
		return classHour;
	}

	public void setClassHour(int classHour) {
		this.classHour = classHour;
	}

	public long getMembersNum() {
		return membersNum;
	}

	public void setMembersNum(long membersNum) {
		this.membersNum = membersNum;
	}

	public long getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(long teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public long getCid() {
		return cid;
	}

	public void setCid(long cid) {
		this.cid = cid;
	}

}
